﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebShop.DataService;

namespace WebShop.Classes
{
    /// <summary>
    /// Leaf in category tee
    /// </summary>
    public class CategoryLeaf
    {
        /// <summary>
        /// SHowed category
        /// </summary>
        public CategoryView Item { get; set; }

        /// <summary>
        /// List of child categories
        /// </summary>
        public List<CategoryView> Sub { get; set; }
    }
}